package com.ruoyi.basedocument.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.util.BillUtil;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 系数对象 t_bom_coefficient
 * 
 * @author ruoyi
 * @date 2024-09-06
 */
public class BomCoefficient extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String fid;

    /** 版本号 */
//    @Excel(name = "版本号")
    private String cfversion;

    /** 类别 */
    @Excel(name = "类别")
    private String fnumber;

    /** 类别名称 */
    private String fname;

    /** 最新版 */
    private Long cfisnew;

    /** 时间类型 */
    @Excel(name = "时间类型",dictType = "bom_seasontype")
    private String cfseasontypeid;

    /** 车间 */
    @Excel(name = "车间",dictType = "bom_plant")
    private String cfplantid;

    /** 基地 */
    @Excel(name = "基地",dictType = "bom_wfzbase")
    private String cfwfzbaseid;
    private String f7wfzbaseName;
    private String f7wfzbaseNumber;
    private String f7wfzbaseShow;

    /** 描述 */
    private String fdescription;

    /** 简称 */
    private String fsimplename;

    /** 创建人 */
//    @Excel(name = "创建人")
    private String fcreatorid;

    /** 创建时间 */
    private Date fcreatetime;

    /** 最后修改人 */
    private String flastupdateuserid;

    /** 最后修改时间 */
    private Date flastupdatetime;


    private String cfcategory;
    /** 类别 */
//    @Excel(name = "类别")
    private String cfcategoryname;

    /** 变动费用额 */
//    @Excel(name = "变动费用额")
    private BigDecimal cfchangefee;

    /** 固定费用额 */
//    @Excel(name = "固定费用额")
    private BigDecimal cffixationfee;

    /** 平均系数 */
//    @Excel(name = "平均系数")
    private BigDecimal cfavgcoefficient;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cfstarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date cfendtime;

    /** 人工变动(工序) */
    @Excel(name = "人工变动(工序)")
    private BigDecimal cfrgbd;

    /** 人工固定(共耗) */
    @Excel(name = "人工固定(共耗)")
    private BigDecimal cfrggd;

    /** 水变动(直接) */
    @Excel(name = "水变动(直接)")
    private BigDecimal cfsbd;

    /** 水固定(共耗) */
    @Excel(name = "水固定(共耗)")
    private BigDecimal cfsgd;

    /** 电变动(直接) */
    @Excel(name = "电变动(直接)")
    private BigDecimal cfdbd;

    /** 电固定(共耗) */
    @Excel(name = "电固定(共耗)")
    private BigDecimal cfdgd;

    /** 气变动(直接) */
    @Excel(name = "气变动(直接)")
    private BigDecimal cfqbd;

    /** 气固定(共耗) */
    @Excel(name = "气固定(共耗)")
    private BigDecimal cfqgd;

    /** 折旧变动(直接) */
    @Excel(name = "折旧变动(直接)")
    private BigDecimal cfzjbd;

    /** 折旧固定(共耗) */
    @Excel(name = "折旧固定(共耗)")
    private BigDecimal cfzjgd;

    /** 其他变动(直接) */
    @Excel(name = "其他变动(直接)")
    private BigDecimal cfqtbd;

    /** 其他固定(共耗) */
    @Excel(name = "其他固定(共耗)")
    private BigDecimal cfqtgd;

    /** 额定额 */
    @Excel(name = "额定额")
    private BigDecimal cfede;

    /** 备注 */
    @Excel(name = "备注")
    private String cfmemo;

    public void setFid(String fid) 
    {
        this.fid = fid;
    }

    public String getFid() 
    {
        return fid;
    }
    public void setFname(String fname) 
    {
        this.fname = fname;
    }

    public String getFname() 
    {
        return fname;
    }
    public void setFnumber(String fnumber) 
    {
        this.fnumber = fnumber;
    }

    public String getFnumber() 
    {
        return fnumber;
    }
    public void setFdescription(String fdescription) 
    {
        this.fdescription = fdescription;
    }

    public String getFdescription() 
    {
        return fdescription;
    }
    public void setFsimplename(String fsimplename) 
    {
        this.fsimplename = fsimplename;
    }

    public String getFsimplename() 
    {
        return fsimplename;
    }
    public void setFcreatorid(String fcreatorid) 
    {
        this.fcreatorid = fcreatorid;
    }

    public String getFcreatorid() 
    {
        return fcreatorid;
    }
    public void setFcreatetime(Date fcreatetime) 
    {
        this.fcreatetime = fcreatetime;
    }

    public Date getFcreatetime() 
    {
        return fcreatetime;
    }
    public void setFlastupdateuserid(String flastupdateuserid) 
    {
        this.flastupdateuserid = flastupdateuserid;
    }

    public String getFlastupdateuserid() 
    {
        return flastupdateuserid;
    }
    public void setFlastupdatetime(Date flastupdatetime) 
    {
        this.flastupdatetime = flastupdatetime;
    }

    public Date getFlastupdatetime() 
    {
        return flastupdatetime;
    }
    public void setCfplantid(String cfplantid) 
    {
        this.cfplantid = cfplantid;
    }

    public String getCfplantid() 
    {
        return cfplantid;
    }
    public void setCfcategory(String cfcategory) 
    {
        this.cfcategory = cfcategory;
    }

    public String getCfcategory() 
    {
        return cfcategory;
    }

    public String getCfcategoryname() {
        return cfcategoryname;
    }

    public void setCfcategoryname(String cfcategoryname) {
        this.cfcategoryname = cfcategoryname;
    }

    public void setCfchangefee(BigDecimal cfchangefee)
    {
        this.cfchangefee = cfchangefee;
    }

    public BigDecimal getCfchangefee() 
    {
        return cfchangefee;
    }
    public void setCffixationfee(BigDecimal cffixationfee) 
    {
        this.cffixationfee = cffixationfee;
    }

    public BigDecimal getCffixationfee() 
    {
        return cffixationfee;
    }
    public void setCfavgcoefficient(BigDecimal cfavgcoefficient) 
    {
        this.cfavgcoefficient = cfavgcoefficient;
    }

    public BigDecimal getCfavgcoefficient() 
    {
        return cfavgcoefficient;
    }
    public void setCfmemo(String cfmemo) 
    {
        this.cfmemo = cfmemo;
    }

    public String getCfmemo() 
    {
        return cfmemo;
    }
    public void setCfstarttime(Date cfstarttime) 
    {
        this.cfstarttime = cfstarttime;
    }

    public Date getCfstarttime() 
    {
        return cfstarttime;
    }
    public void setCfendtime(Date cfendtime) 
    {
        this.cfendtime = cfendtime;
    }

    public Date getCfendtime() 
    {
        return cfendtime;
    }
    public void setCfseasontypeid(String cfseasontypeid) 
    {
        this.cfseasontypeid = cfseasontypeid;
    }

    public String getCfseasontypeid() 
    {
        return cfseasontypeid;
    }
    public void setCfversion(String cfversion) 
    {
        this.cfversion = cfversion;
    }

    public String getCfversion() 
    {
        return cfversion;
    }
    public void setCfisnew(Long cfisnew) 
    {
        this.cfisnew = cfisnew;
    }

    public Long getCfisnew() 
    {
        return cfisnew;
    }
    public void setCfrgbd(BigDecimal cfrgbd) 
    {
        this.cfrgbd = cfrgbd;
    }

    public BigDecimal getCfrgbd() 
    {
        return cfrgbd;
    }
    public void setCfrggd(BigDecimal cfrggd) 
    {
        this.cfrggd = cfrggd;
    }

    public BigDecimal getCfrggd() 
    {
        return cfrggd;
    }
    public void setCfsbd(BigDecimal cfsbd) 
    {
        this.cfsbd = cfsbd;
    }

    public BigDecimal getCfsbd() 
    {
        return cfsbd;
    }
    public void setCfsgd(BigDecimal cfsgd) 
    {
        this.cfsgd = cfsgd;
    }

    public BigDecimal getCfsgd() 
    {
        return cfsgd;
    }
    public void setCfdbd(BigDecimal cfdbd) 
    {
        this.cfdbd = cfdbd;
    }

    public BigDecimal getCfdbd() 
    {
        return cfdbd;
    }
    public void setCfdgd(BigDecimal cfdgd) 
    {
        this.cfdgd = cfdgd;
    }

    public BigDecimal getCfdgd() 
    {
        return cfdgd;
    }
    public void setCfqbd(BigDecimal cfqbd) 
    {
        this.cfqbd = cfqbd;
    }

    public BigDecimal getCfqbd() 
    {
        return cfqbd;
    }
    public void setCfqgd(BigDecimal cfqgd) 
    {
        this.cfqgd = cfqgd;
    }

    public BigDecimal getCfqgd() 
    {
        return cfqgd;
    }
    public void setCfzjbd(BigDecimal cfzjbd) 
    {
        this.cfzjbd = cfzjbd;
    }

    public BigDecimal getCfzjbd() 
    {
        return cfzjbd;
    }
    public void setCfzjgd(BigDecimal cfzjgd) 
    {
        this.cfzjgd = cfzjgd;
    }

    public BigDecimal getCfzjgd() 
    {
        return cfzjgd;
    }
    public void setCfqtbd(BigDecimal cfqtbd) 
    {
        this.cfqtbd = cfqtbd;
    }

    public BigDecimal getCfqtbd() 
    {
        return cfqtbd;
    }
    public void setCfqtgd(BigDecimal cfqtgd) 
    {
        this.cfqtgd = cfqtgd;
    }

    public BigDecimal getCfqtgd() 
    {
        return cfqtgd;
    }
    public void setCfede(BigDecimal cfede) 
    {
        this.cfede = cfede;
    }

    public BigDecimal getCfede() 
    {
        return cfede;
    }
    public void setCfwfzbaseid(String cfwfzbaseid) 
    {
        this.cfwfzbaseid = cfwfzbaseid;
    }

    public String getCfwfzbaseid() 
    {
        return cfwfzbaseid;
    }

    public String getF7wfzbaseName() {
        return f7wfzbaseName;
    }

    public void setF7wfzbaseName(String f7wfzbaseName) {
        this.f7wfzbaseName = f7wfzbaseName;
    }

    public String getF7wfzbaseNumber() {
        return f7wfzbaseNumber;
    }

    public void setF7wfzbaseNumber(String f7wfzbaseNumber) {
        this.f7wfzbaseNumber = f7wfzbaseNumber;
    }

    public String getF7wfzbaseShow() {
        return f7wfzbaseShow;
    }

    public void setF7wfzbaseShow(String f7wfzbaseShow) {
        this.f7wfzbaseShow = f7wfzbaseShow;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("fid", getFid())
            .append("fname", getFname())
            .append("fnumber", getFnumber())
            .append("fdescription", getFdescription())
            .append("fsimplename", getFsimplename())
            .append("fcreatorid", getFcreatorid())
            .append("fcreatetime", getFcreatetime())
            .append("flastupdateuserid", getFlastupdateuserid())
            .append("flastupdatetime", getFlastupdatetime())
            .append("cfplantid", getCfplantid())
            .append("cfcategory", getCfcategory())
            .append("cfchangefee", getCfchangefee())
            .append("cffixationfee", getCffixationfee())
            .append("cfavgcoefficient", getCfavgcoefficient())
            .append("cfmemo", getCfmemo())
            .append("cfstarttime", getCfstarttime())
            .append("cfendtime", getCfendtime())
            .append("cfseasontypeid", getCfseasontypeid())
            .append("cfversion", getCfversion())
            .append("cfisnew", getCfisnew())
            .append("cfrgbd", getCfrgbd())
            .append("cfrggd", getCfrggd())
            .append("cfsbd", getCfsbd())
            .append("cfsgd", getCfsgd())
            .append("cfdbd", getCfdbd())
            .append("cfdgd", getCfdgd())
            .append("cfqbd", getCfqbd())
            .append("cfqgd", getCfqgd())
            .append("cfzjbd", getCfzjbd())
            .append("cfzjgd", getCfzjgd())
            .append("cfqtbd", getCfqtbd())
            .append("cfqtgd", getCfqtgd())
            .append("cfede", getCfede())
            .append("cfwfzbaseid", getCfwfzbaseid())
            .toString();
    }
}
